package com.fira;

import com.fira.ApiApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
/**
 *@Description web容器中进行部署
 *@Author tony
 *@Date 2021/9/29
 *@since:
 *@copyright: 火啦科技(https://www.imfira.cn)
 */
public class ApiServletInitializer extends SpringBootServletInitializer {
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder application)
    {
        return application.sources(ApiApplication.class);
    }
}
